class myEdge {
    int Start;          //起点
    int End;            //终点
    int Weight;         //长度
    int Volume;         //拥挤度,1-9的整数,越大表示越拥挤
    boolean Bicycle;    //是否通自行车
    int Direction;      //方向,1-8的整数,其中相对方向相加为9,添加双向边时方便计算反向边的方向

    public myEdge() {
    }

    @Override
    public String toString() {
        return "Edge{" +
                "Start=" + Start +
                ", End=" + End +
                ", Weight=" + Weight +
                ", Volume=" + Volume +
                ", Bicycle=" + Bicycle +
                ", Direction=" + Input.directionMap.get(Direction) +
                '}' + "\n";
    }
}
